package cn.sdormitory.violative.form;

import cn.hutool.core.lang.Assert;
import lombok.Data;

@Data
public class ViolationPatrolGoBackForm {
    private Long violationPatrolId;
    private Long dvId;

    public void validThrow() {
        Assert.notNull(violationPatrolId, "违纪巡查编号不能为空");
        Assert.notNull(dvId,"违纪学生学号不能为空");
    }
}
